<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2017/9/4
 * Time: 16:45
 */


include "CShellExec.php";


$CShellExec = new CShellExec();

$arr = $CShellExec->Execute("a.exe","");
$output = $CShellExec->GetOutput();
var_dump($output);

exec("a.exe",$result);
var_dump($result);